var Util = require("util")

function    RpcCallError(error) {
    this.request    =   error.request;
    this.response   =   error.response;
    this.error      =   error.error;
}

Util.inherits(RpcCallError, Error);

module.exports = RpcCallError;